﻿@model VoiceModel.VoiceModel
<?xml version="1.0" encoding="utf-8" ?>
<vxml version="2.1"  xmlns="http://www.w3.org/2001/vxml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml20/vxml.xsd"
@if(@Model.AppName != null)
{
    @: application="@Model.AppName"
}>
    
    @foreach (var property in Model.properties)
    {
        <property name="@property.name" value="@property.value"/>
    }

    @if (@Model.json != null && @Model.json != "")
    { 
       <script>
        <![CDATA[
            var d = @Html.Raw(Model.json);   
        ]]>
       </script>

    }

    @RenderBody()
</vxml>